package com.lovo.market.common.enums;

import lombok.Getter;

/**
 * @author MirAi
 * @description 状态码枚举
 * @date 2020/12/15 17:12
 */
@Getter
public enum CodeEnum {

    /** 未知错误 */
    UNKNOWN_FAIL(9999, "未知错误");

    /** 状态码 */
    private final Integer CODE;
    /** 状态描述 */
    private final String MESSAGE;

    CodeEnum(Integer code, String message) {
        this.CODE = code;
        this.MESSAGE = message;
    }
}
